package priv.pattern.observerpattern.event;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;


/*
 * 作者：m鹏h
 * 时间；2024/6/7 22:03
 * 描述：自定义事件类
 **/
@Accessors(chain = true)
@Data
public class CustomEvent {
 private String name;
 private Boolean qualityGoods;
 public CustomEvent(){

 }
 public String getName(){
  return this.name;
 }
 public Boolean getQualityGoods(){
  return this.qualityGoods;
 }
}
